#!/bin/sh

KernelVersion=2.6.28.9

/bin/echo "Load system modules ..........."
/sbin/modprobe ip_tables 	1>/dev/null 2>&1
/sbin/modprobe iptable_filter 	1>/dev/null 2>&1
/sbin/modprobe ip_conntrack 	1>/dev/null 2>&1
/sbin/modprobe iptable_nat 	1>/dev/null
/sbin/modprobe ipt_REDIRECT 	1>/dev/null
/sbin/modprobe ip_conntrack_ftp 1>/dev/null
/sbin/modprobe ipt_state 	1>/dev/null
/sbin/modprobe ipt_limit 	1>/dev/null 
/sbin/modprobe ipt_iprange 	1>/dev/null
/sbin/modprobe ipt_physdev 	1>/dev/null
/sbin/modprobe ipt_LOG 		1>/dev/null


/sbin/modprobe xt_multiport 	1>/dev/null
/sbin/modprobe xt_string 	1>/dev/null
/sbin/modprobe iptable_raw  	1>/dev/null
/sbin/modprobe iptable_mangle 	1>/dev/null
/sbin/modprobe xt_MARK		1>/dev/null

/bin/echo "Load special modules .........."

/sbin/insmod /usr/lib/modules/${KernelVersion}/kernel/net/netfilter/xt_layer7.ko 1>/dev/null
#/sbin/insmod /usr/lib/modules/2.6.20.7/kernel/lib/ts_bm.ko # For iptables string module.
#/sbin/insmod /lib/modules/2.6.20.7/kernel/net/netfilter/xt_tcpudp.ko 1>/dev/null
#/sbin/insmod /usr/lib/modules/2.6.20.7/kernel/lib/ts_kmp.ko # For iptables string module.

